package me.jiatao.dagger2.component;

import java.util.List;

import dagger.Component;
import me.jiatao.dagger2.Main2Activity;
import me.jiatao.dagger2.model.Student;
import me.jiatao.dagger2.module.MainActivityArgsModule;
import me.jiatao.dagger2.module.MainActivityModule;
import me.jiatao.dagger2.module.MainActivitySubMainModule;

/**
 * Created by JiaTao on 2018/8/28.
 * Email: 535318720@qq.com
 * Version: 1.0
 * Description:
 */

@Component(modules = {MainActivityArgsModule.class, MainActivityModule.class, MainActivitySubMainModule.class})
public interface MainActivityComponent {
    void inject(Main2Activity activity);

    Student student();

    List<String> stringList();

    SubComponent.Builder subComponent();
}
